﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace WCF_CM
{
   
    [ServiceContract]
    public interface IGroup
    {
        [OperationContract]
        public static string AddGroup(string gn, int gp, string gd, string gdis, string sgo);

        [OperationContract]
        public static string UpdateGroup(int gid, string gn, int gp, string gd, string gdis, string sgo);

        [OperationContract]
        public static Group SearchGroupById(int gid);

        [OperationContract]
        public static string DeleteGroupById(int gid);

        [OperationContract]
        public static string IsSubGroupOf(string gid);



    }
}
